package com.xbongbong.pro.statistic.result.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.paas.toolbox.wrap.QueryIgnore;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 全景图参数dto
 * @author zcp
 * @version v1.0
 * @date 2019/5/30 14:47
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class PanoramaDTO extends BaseDTO {
    private static final long serialVersionUID = -3971096632701466411L;

    /**
     * saas业务类型
     */
    @Getter(onMethod_ = {@QueryIgnore})
    private Integer businessType;
    /**
     * 数据id
     */
    @Getter(onMethod_ = {@QueryIgnore})
    @NotNull(message = "数据id不能为空")
    private Long dataId;
    /**
     * 全景指标code，@see PanoramaEnum
     */
    @Getter(onMethod_ = {@QueryIgnore})
    @NotEmpty(message = "全景图指标数据异常")
    private List<String> codeIn;
}
